var dictionary = new Array();

function main_start()
{
	main_check_user()
}

function main_check_user()
{
	ajax.sendAsync("./action/user/user.php5?action=refeshlogin&u="+new Date().getTime(), function(datas)
	{
		ajax.eval(datas)
	})
}

var about_popup = null
function main_about()
{
	about_popup = new Popup(360, 230);
	about_popup.show(null);

	ajax.sendAsync("./action/commun/commun.php5?action=about&u="+new Date().getTime(), function(datas)
	{
		ajax.eval(datas)
	})
}

function main_displayPopup(page, name, params)
{
	var w = window.open(page, name, params)
	setTimeout(function()
	{
		if(!w)
		{
			self.location = page
		}
	}, 100)
}